package com.dao.c.backend.vo;

import com.dao.c.backend.entity.Session;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class SessionVo {
    public SessionVo(Session session) {
        this.id = session.getId();
        this.title = session.getTitle();
        this.content = session.getContent();
        this.createtime = session.getCreatetime();
        this.updatetime = session.getUpdatetime();
        this.status = session.getStatus();
        this.mid = session.getMid();
    }

    private Integer id;
    private String title;
    private String content;
    private Integer mid;
    private LocalDateTime createtime;
    private LocalDateTime updatetime;
    private Integer status;
    private String modelAvatar;
    private String modelName;

}
